Now let's make it so that Chuck Norris chases after anybody who hurts him, anybody who shoots them
like a player.
So I'm going to go down to move Npk on Chuck.
Chuck is in server storage.
Chuck Norris, Move MPC.
There we go.
And we have a humanoid we connected to died event to it.
Let's get the AI humanoid.
Chuck Humanoid.
Dot health change.
So this is an event that fires if your health change, if you get healthy or if you get hurt.
Well we only care if the health changes and we find a creator tag on his humanoid.
Somebody shot him.
We have creator tag on our weapon.
So I'll get a variable for any possible creator tags.
Creator tag.
And what we're going to do is get the eye humanoid, do a fine first child and the creator tag is called
Creator.
You can look in the pistol if you don't remember how we did it.
All right.
So if the creator tag exists, somebody just heard them because the creator tag only lives for 2 seconds.
So let's look for a player that hit him with the creator tag and the value of the creator tag is the
player.
We're going to get the character because we have to tag characters the way we set up.
Chuck's find nearest or fine closest, whichever it was, find closest char do the player dot character
or player dot character added.
Oh, I spelled character wrong here.
Got to change it while I see it or I'll forget character added.
Wait.
Once we get the character, we're going to get our collection service.
We already got a CSS variable for collection service.
We're going to add the tag char chuck target you've been tagged.
Let's go ahead and play it.
And play here.
There you go.
Chuck's going to pop into the world.
There he is.
Oh, man.
Look at that.
Luckily, he kicked us out of range.